package com.datatest.constant;


public enum ErrorEnum {

    SUCCESS(200,"成功"),
    NO_PERMISSION(403,"暂无权限"),
    NOT_FOUND(404,"未找到资源"),
    NO_EXCEL(501,"未找到资源"),
    NO_RULEERROR(499,"暂无相关策略集"),
    ;

    private Integer errorCode;

    private String eooroMsg;

    ErrorEnum(Integer errorCode, String eooroMsg) {
        this.errorCode = errorCode;
        this.eooroMsg = eooroMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getEooroMsg() {
        return eooroMsg;
    }

    public void setEooroMsg(String eooroMsg) {
        this.eooroMsg = eooroMsg;
    }
}
